package cn.edu.gzist.chapter02.config;


import cn.edu.gzist.chapter02.service.MyService;
import  org.springframework.context.annotation.Bean;
import  org.springframework.context.annotation.Configuration;

@Configuration
public  class  MyConfig {
    @Bean
    public MyService myService(){
        return  new MyService();
    }
}